package cn.newhopedairy.member.infrastructure.db.po;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import cn.newhopedairy.common.po.SuperPo;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 会员注册信息表
 *
 * @author Neo.Li
 * @since 2021-01-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("member")
@ApiModel(value="MemberPo对象", description="会员注册信息表")
public class MemberPo extends SuperPo {


    @ApiModelProperty(value = "会员账号")
    @TableField("username")
    private String username;

    @ApiModelProperty(value = "昵称")
    @TableField("nick_name")
    private String nickName;

    @ApiModelProperty(value = "手机号")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "头像")
    @TableField("avatar_url")
    private String avatarUrl;

    @ApiModelProperty(value = "通讯地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "学历")
    @TableField("education")
    private String education;

    @ApiModelProperty(value = "职业")
    @TableField("job")
    private String job;

    @ApiModelProperty(value = "出生日期")
    @TableField("birthday")
    private LocalDateTime birthday;

    @ApiModelProperty(value = "0，man：男 1：女")
    @TableField("sex")
    private Integer sex;

    @ApiModelProperty(value = "qq")
    @TableField("qq")
    private String qq;

    @ApiModelProperty(value = "邮箱")
    @TableField("mail")
    private String mail;

    @ApiModelProperty(value = "微博")
    @TableField("weibo")
    private String weibo;

    @ApiModelProperty(value = "微信")
    @TableField("wx")
    private String wx;


}
